package com.wmm.fast.order.model.response;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.wmm.common.bean.response.Response;
import com.wmm.fast.order.model.Participant;
import lombok.*;

/**
 * @Auther: wangzun
 * @Date: 2018/9/14 18:54
 * @Description: TCC请求结果Bean
 */
@Getter
@Setter
@NoArgsConstructor
@ToString
@EqualsAndHashCode
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler", "fieldHandler"}, ignoreUnknown = true)
public class ReservationResponse implements Response {

    private static final long serialVersionUID = -5714787513718871638L;

    private Participant participant;

    public ReservationResponse(Participant participant) {
        this.participant = participant;
    }
}
